import java.util.Scanner;

/*
    敏感词屏蔽
    replace(1旧,2新)字符串替换
 */
public class ReplaceString {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入");
        String s = sc.nextLine();

        String result = s.replace("TMD","***");
        System.out.println(result);
    }
}
